package com.haiya.factory.method.pizza;

import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;

public class Client {
    public static void main(String[] args) throws IOException {
        BufferedReader strin = new BufferedReader(new InputStreamReader(System.in));
        System.out.println("input kouwei: ");
        String kouwei = strin.readLine();

        if (kouwei.equals("bj")) {
            /**
             * 创建北京口味的各种Pizza
             */
            new BjPizza();
        } else if (kouwei.equals("ld")) {
            /**
             * 创建北京口味的各种Pizza
             */
            new LdPizza();
        }
    }
}
